﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class ProductDetailsForm : Form
    {
        string helpStr = "Enter something...";
        
        public ProductDetailsForm()
        {
            InitializeComponent();

            TextBoxHelper.InitHelp(textBox1, "help1");
            TextBoxHelper.InitHelp(textBox2, "help2");
            TextBoxHelper.InitHelp(textBox3, "help3");
            TextBoxHelper.InitHelp(textBox4, "help4");
        }

        private void ProductDetailsForm_Load(object sender, EventArgs e)
        {
            comboBox2.SelectedIndex = 0;
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {

        }


        private void textBox1_Click(object sender, EventArgs e)
        {
            
        }

        private void button2_Click(object sender, EventArgs e)
        {
            string msg = TextBoxHelper.HasText(textBox1).ToString();
            MessageBox.Show(msg);
        }

        private void OKBtn_Click(object sender, EventArgs e)
        {

        }
    }
}
